.class Lcom/waiqin365/lightapp/kehu/ar;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/kehu/a/a/w;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->f(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v3, "id"

    invoke-virtual {v0, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/kehu/a/a/w;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Landroid/os/Handler;

    move-result-object v1

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ar;->a:Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0064
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
